#Ice and Magic, 22 Avril 2011

bin_PROGRAMS=    smallbrain_seq \
		 smallbrain_omp\
		 smallbrain_fullverbose\
		 smallbrain_tbb

INCLUDES= $(all_includes)
mysources= main.cc \
	   silhouette.cc\
	   global.cc\
	   timer.cc\
	   invariants_collector.cc


smallbrain_seq_CXXFLAGS=$(AM_CXXFLAGS) -fast -Wall -axSSE2,SSE3,SSE4
smallbrain_seq_SOURCES= $(mysources)
smallbrain_seq_LDFLAGS= $(all_libraries)

smallbrain_omp_CXXFLAGS=$(AM_CXXFLAGS) -fast -Wall -axSSE2,SSE3,SSE4-DMY_GO_PARALLEL -DUSE_OMP -openmp
smallbrain_omp_SOURCES=$(mysources)
smallbrain_omp_LDFLAGS=$(all_libraries) -openmp

smallbrain_tbb_CXXFLAGS=$(AM_CXXFLAGS) -fast -Wall -axSSE2,SSE3,SSE4-DMY_GO_PARALLEL -DUSE_TBB
smallbrain_tbb_SOURCES=$(mysources)
smallbrain_tbb_LDFLAGS=-ltbb $(AM_LDFLAGS) $(all_libraries) 

smallbrain_fullverbose_CXXFLAGS=$(AM_CXXFLAGS) -fast -Wall -axSSE2,SSE3,SSE4-DFULL_VERBOSE -g
smallbrain_fullverbose_SOURCES=$(mysources)
smallbrain_fullverbose_LDFLAGS=$(all_libraries)



